ScanDeviceManager GetDeviceList
Gets the names of the available devices as a string array. After initialization, the ScanDeviceManager listens to network broadcasts and builds the list of available devices. Note that this process takes some time due to the broadcast intervals of the controllers and the initialization time of the ScanDeviceManager. It is recommended to allow sufficient time for the device list to be built before calling this method.
public string[] GetDeviceList() |
Return value
string[] | All the available device names |
Example
Copy
scanDeviceManager.InitializeHardware();
//Allow the scandeviceManger to listen for a few seconds
string[] availableDevices = scanDeviceManager.GetDeviceList();